package com.twu.biblioteca.model;

public class User {
    private String username;
    private String password;
    private String emailId;
    private String address;

    public User(String username,String password, String emailId, String address) {
        this.username = username;
        this.emailId = emailId;
        this.address = address;
        this.password = password;
    }

    public String getPassword() {
        return password;
    }

    public String getUsername() {
        return username;
    }

    public String getEmailId() {
        return emailId;
    }

    public String getAddress() {
        return address;
    }

    public String toString(){
        return "\nUsername : " + getUsername()
                + "\nEmail Id : " + getEmailId()
                + "\nAddress :" + getAddress() + "\n";
    }

}
